<?php 
class App_Plugin_LayoutSwitcher extends Zend_Layout_Controller_Plugin_Layout
{
	public function preDispatch(Zend_Controller_Request_Abstract $request)
	{
		$this->getLayout()->setLayoutPath(Zend_Controller_Front::getInstance()->getModuleDirectory($request->getModuleName()) . '/layouts');
		//$this->getLayout()->setLayout('default');
	}
}
